using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HengTong.Model.Db.System;


namespace HengTong.ViewModel._Admin.SysTodoCenterVms
{
    public partial class SysTodoCenterTemplateVm : BaseTemplateVM
    {
        [Display(Name = "标题")]
        public ExcelPropety TitleExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Title);
        [Display(Name = "单据编码")]
        public ExcelPropety BillCodeExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.BillCode);
        [Display(Name = "业务类型")]
        public ExcelPropety BusinessTypeExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.BusinessType);
        [Display(Name = "业务ID")]
        public ExcelPropety ActivityIdExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.ActivityId);
        [Display(Name = "流程实例ID")]
        public ExcelPropety WorkflowIdExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.WorkflowId);
        [Display(Name = "公司名称")]
        public ExcelPropety CompanyExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Company);
        [Display(Name = "部门名称")]
        public ExcelPropety DepartmentExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Department);
        [Display(Name = "发起人姓名")]
        public ExcelPropety SubmitterExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Submitter);
        [Display(Name = "处理人")]
        public ExcelPropety ApproverExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Approver);
        [Display(Name = "创建人")]
        public ExcelPropety CreateByExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.CreateBy);
        [Display(Name = "办理结果")]
        public ExcelPropety ApproveResultExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.ApproveResult);
        [Display(Name = "办理状态")]
        public ExcelPropety StatusExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Status);
        [Display(Name = "优先级")]
        public ExcelPropety PriorityExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.Priority);
        [Display(Name = "创建时间")]
        public ExcelPropety CreateTimeExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.CreateTime);
        [Display(Name = "到期时间")]
        public ExcelPropety DueDateExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.DueDate);
        [Display(Name = "完成时间")]
        public ExcelPropety CompleteTimeExcel = ExcelPropety.CreateProperty<SysTodoCenter>(x => x.CompleteTime);

	    protected override void InitVM()
        {
        }

    }

    public class SysTodoCenterImportVm : BaseImportVM<SysTodoCenterTemplateVm, SysTodoCenter>
    {

    }

}
